<?php


/*
	$imgContent = @file_get_contents('http://www.chinacaipu.com/uploadfile/s2/small_28361.jpg');
	$imgSize = strlen($imgContent); 
	echo $imgSize;
	if($imgSize <= 0){
		exit();
	}
	*/
	ob_start();
	readfile("http://www.fancai.com/Image/MeiShi/2011-05-03/2011050309224841120651788.jpg");
	$img = ob_get_contents();
	ob_end_clean();
	
	$fwImg = fopen('/home/dragon/small_281s5ww.jpg', "a");
	fwrite($fwImg, $img);
	fclose($fwImg);

?>